<template>
	<view class="u-content">
		<view class="cont">
			{{data.orgDecideAddress}}
		</view>
		<view class="cont">
			{{data.orgDecidePhone}}
		</view>
	</view>
</template>

<script>
	export default{
		data () {
			return{
				itemCode: '',
				data: {}
			}
		},
		onLoad(option){
			this.itemCode = option.itemCode;
			this.selectItemDetail();
		},
		methods:{
			selectItemDetail(){
				uni.showLoading({
					title: '搜索中...',
					mask: true
				});
				this.$ajax({
					url: '/api/wwwBiz/selectItemDetail',
					method: 'POST',
					data:{
						itemCode:this.itemCode
					}
				}).then(res =>{
					if (res.code == 200) {
							this.data = res.data.data1;
						}
					}).finally(()=>{
					uni.hideLoading();
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.u-content{
		width: 100%;
		height: 100%;
		overflow: hidden;
		.cont{
			font-size: 28rpx;
			line-height: 56rpx;
			color: #333333;
			text-indent:2em;
			margin: 56rpx 61rpx;
			text-align:justify; 
			text-justify:inter-ideograph;
		}
	}
</style>
